home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / app / test / TestApplication$TestDocument.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  931 b   |  35 lines

  1. package com.extensibility.app.test;
  2.  
  3. import com.extensibility.app.BaseDocument;
  4. import com.extensibility.xml.URI;
  5. import java.io.IOException;
  6. import java.io.Reader;
  7. import java.io.Writer;
  8.  
  9. class TestApplication$TestDocument extends BaseDocument {
  10.    private String theText;
  11.  
  12.    public String getText() {
  13.       return this.theText;
  14.    }
  15.  
  16.    public TestApplication$TestDocument(URI var1) {
  17.       super(var1);
  18.    }
  19.  
  20.    public TestApplication$TestDocument() {
  21.       this.theText = "this is a new document";
  22.    }
  23.  
  24.    public TestApplication$TestDocument(String var1) {
  25.       this.theText = var1;
  26.    }
  27.  
  28.    public void write(Writer var1) throws IOException {
  29.       var1.write(this.theText);
  30.    }
  31.  
  32.    public void read(Reader var1) throws IOException {
  33.    }
  34. }
  35.